home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #1
/
Amiga Plus CD - 2000 - No. 1.iso
/
Tools
/
OS3.5
/
RAWBInfo
/
Install
next >
Wrap
Text File
|
1999-12-03
|
2KB
|
79 lines
; $VER: Installer script for RAWInfo 1.0 (03.10.99) © 1999 by Stephan Rupprecht
;--- localize strings ----
(if (= @language "deutsch")
(
(set #wrongver "RAWBInfo benötigt mindestens AmigaOS3.5.\nInstallation kann nicht durchgeführt werden.")
(set #askdir_prompt "Bitte wählen Sie das Zielverzeichnis für den RAWBInfo")
)
(
(set #wrongver "RAWBInfo requires at least AmigaOS3.5\nInstallation aborted.")
(set #askdir_prompt "Please select the drawer where RAWBInfo should be installed")
)
)
;--- check os version ---
(set #vernum (getversion "workbench.library" (resident)))
(set #vernum (/ #vernum 65536))
(if(< #vernum 44)
(abort #wrongver)
)
;--- copy main program ---
(set @default-dest
(askdir
(prompt #askdir_prompt)
(help @askdir-help)
(default "SYS:WBStartup")
)
)
(copyfiles
(help @copyfiles-help)
(source "RAWBInfo")
(dest @default-dest)
)
;--- copy .info file if neccessary ---
(set #info_path (tackon @default-dest "RAWBInfo.info") )
(if (not (exists #info_path) )
(copyfiles
(help @copyfiles-help)
(source "RAWBInfo.info")
(dest @default-dest)
)
)
;--- copy catalog ---
(if (NOT (= @language "english"))
(
(set #src_name
(tackon "Catalogs/" @language)
)
(set #dst_name
(tackon "LOCALE:" #src_name)
)
(set #src_name
(tackon #src_name "rawbinfo.catalog")
)
(if (exists #src_name (noreq))
(
(copyfiles
(help @copyfiles-help)
(source #src_name)
(dest #dst_name)
)
)
(message "Sorry, there is no " @language " catalog available at the moment!")
)
)
)
;--- eof ---